﻿<UserControl x:Class="SilverlightContrib.Sample.CoolMenuSample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:sc="clr-namespace:SilverlightContrib.Controls;assembly=SilverlightContrib.Controls">
    <Grid x:Name="LayoutRoot">
        <StackPanel>
            <sc:CoolMenu Height="120">
                <sc:CoolMenu.Items>
                    <sc:CoolMenuItemCollection>
                        <sc:CoolMenuItem>
                            <sc:CoolMenuItem.Content>
                                <Rectangle Fill="Green" Margin="5" />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem>
                            <sc:CoolMenuItem.Content>
                                <Rectangle Fill="GreenYellow" Margin="5" />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem>
                            <sc:CoolMenuItem.Content>
                                <Rectangle Fill="DarkGreen" Margin="5" />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem>
                            <sc:CoolMenuItem.Content>
                                <Rectangle Fill="LightGreen" Margin="5" />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                    </sc:CoolMenuItemCollection>
                </sc:CoolMenu.Items>
            </sc:CoolMenu>
            <sc:CoolMenu Height="130" MaxItemHeight="100" MaxItemWidth="100">
                <sc:CoolMenu.Items>
                    <sc:CoolMenuItemCollection>
                        <sc:CoolMenuItem Text="Box">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/box.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Bomb">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/bomb.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Calculator">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/calc.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Fish">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/fish.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Gear">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/gear.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Lock">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/lock.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Coffee">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/coffee.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Pacman">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/pacman.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Star">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Icons/star.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                    </sc:CoolMenuItemCollection>
                </sc:CoolMenu.Items>
            </sc:CoolMenu>
            <sc:CoolMenu Height="160" MaxItemHeight="151.2" MaxItemWidth="108">
                <sc:CoolMenu.Items>
                    <sc:CoolMenuItemCollection>
                        <sc:CoolMenuItem Text="5-Spade">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Cards/Poker-sm-21A-5s.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="3-Diamond">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Cards/Poker-sm-23C-3d.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="Ace-Heart">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Cards/Poker-sm-221-Ah.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="King-Club">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Cards/Poker-sm-242-Kc.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                        <sc:CoolMenuItem Text="10-Club">
                            <sc:CoolMenuItem.Content>
                                <Image Source="/Images/CoolMenuImages/Cards/Poker-sm-245-Tc.png" Stretch="UniformToFill" Margin="5"  />
                            </sc:CoolMenuItem.Content>
                        </sc:CoolMenuItem>
                    </sc:CoolMenuItemCollection>
                </sc:CoolMenu.Items>
            </sc:CoolMenu>
        </StackPanel>
    </Grid>
</UserControl>
